package com.oscar.ehome.bean.loginbean.idcardbean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2017/3/22.
 */

public class CardInfoBean implements Serializable{
    /**
     * type : 2
     * items : [
     * 0{"nID":null,"index":null,"desc":"保留","content":""},
     * 1{"nID":null,"index":null,"desc":"姓名","content":"李浩"},
     * 2{"nID":null,"index":null,"desc":"性别","content":"男"},
     * 3{"nID":null,"index":null,"desc":"民族","content":"汉"},
     * 4{"nID":null,"index":null,"desc":"出生","content":"1994-02-15"},
     * 5{"nID":null,"index":null,"desc":"住址","content":"河北省邢台市柏乡县王家庄乡贾庄村406号"},
     * 6{"nID":null,"index":null,"desc":"公民身份号码","content":"130524199402151011"},
     * 7{"nID":null,"index":null,"desc":"头像","content":"2wBDAAYEB"}]
     */

    private String type;
    private List<ItemBean> items;

    public String getType() {
        if (type == null) {
            type = "";
        }
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<ItemBean> getItems() {
        if (items == null) {
            items = new ArrayList<>();
        }
        return items;
    }

    public void setItems(List<ItemBean> items) {
        this.items = items;
    }
}
